﻿@using CyScada.Model
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>CyScada beta V0.3</title>
    <meta name="keywords" content="CyScada" />
    <meta name="description" content="彩云数据采集" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- basic styles -->
    <link href="/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/css/ace/font-awesome.min.css" />

    <!--[if IE 7]>
      <link rel="stylesheet" href="/css/ace/font-awesome-ie7.min.css" />
    <![endif]-->
    <!-- page specific plugin styles -->
    <!-- fonts -->

    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />

    <!-- ace styles -->

    <link rel="stylesheet" href="/css/ace/ace.min.css" />
    <link rel="stylesheet" href="/css/ace/ace-rtl.min.css" />
    <link rel="stylesheet" href="/css/ace/ace-skins.min.css" />

    <!--[if lte IE 8]>
      <link rel="stylesheet" href="/css/ace/ace-ie.min.css" />
    <![endif]-->
    <!-- inline styles related to this page -->


    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/js/ace/html5shiv.js"></script>
    <script src="/js/ace/respond.min.js"></script>
    <![endif]-->
    

    <link href="/css/Site.css" rel="stylesheet">

    <!-- jQuery -->
    <script src="/js/jquery/jquery.min.js"></script>

    <script type="text/javascript" src="/js/angularjs/angular.min.js"></script>

    <script src="/js/_sideMenu/_sideMenu3.js"></script> 

    @RenderSection("HeadSection", false)
</head>

<body>
    <div class="navbar navbar-default" id="navbar">
        <script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
        </script>

        <div class="navbar-container" id="navbar-container">
            <div class="navbar-header pull-left">
                <a href="#" class="navbar-brand">
                    <small>
                        <i class="icon-cloud"></i>
                        CyScada beta V0.3
                    </small>
                </a><!-- /.brand -->
            </div><!-- /.navbar-header -->

            <div class="navbar-header pull-right" role="navigation">
                <ul class="nav ace-nav">
                    <li class="light-blue">
                        <a data-toggle="dropdown" href="#" class="dropdown-toggle" id="userId" data-userid="@ViewBag.Id">
                            <img class="nav-user-photo" src="/img/user.png" alt="@ViewBag.Name" />
                            <span class="user-info">
                                <small>欢迎光临,</small>
                                @ViewBag.Name
                            </span>

                            <i class="icon-caret-down"></i>
                        </a>

                        <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                            @*<li>
                                <a href="#">
                                    <i class="icon-cog"></i>
                                    设置
                                </a>
                            </li>

                            <li>
                                <a href="#">
                                    <i class="icon-user"></i>
                                    个人资料
                                </a>
                            </li>

                            <li class="divider"></li>*@

                            <li>
                                <a href="/Login/Index">
                                    <i class="icon-off"></i>
                                    退出
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul><!-- /.ace-nav -->
            </div><!-- /.navbar-header -->
        </div><!-- /.container -->
    </div>

    <div class="main-container" id="main-container">
        <script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
        </script>

        <div class="main-container-inner">
            <a class="menu-toggler" id="menu-toggler" href="#">
                <span class="menu-text"></span>
            </a>

            <div class="sidebar" id="sidebar">
                <script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
                </script>
                @{ Html.RenderPartial("_SideMenu3", new UserModel { Name = @ViewBag.Name, Id = Convert.ToInt32(@ViewBag.Id) });}



                
                <div class="sidebar-collapse" id="sidebar-collapse">
                    <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
                </div>

                <script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
                </script>
            </div>

            <div class="main-content">
                <div class="page-content">


                    <div class="row">
                        <div class="col-xs-12">
                            <!-- PAGE CONTENT BEGINS -->
                            @RenderBody()
                            <!-- PAGE CONTENT ENDS -->
                        </div><!-- /.col -->
                    </div><!-- /.row -->
                </div><!-- /.page-content -->
            </div><!-- /.main-content -->

        </div><!-- /.main-container-inner -->

        <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
            <i class="icon-double-angle-up icon-only bigger-110"></i>
        </a>
    </div><!-- /.main-container -->


    <script type="text/javascript">
        if ("ontouchend" in document) document.write("<script src='/js/ace/jquery.mobile.custom.min.js'>" + "<" + "script>");
    </script>
    <script src="/js/ace/bootstrap.min.js"></script>
    <script src="/js/ace/typeahead-bs2.min.js"></script>

    <!-- page specific plugin scripts -->
    <!--[if lte IE 8]>
      <script src="/js/ace/excanvas.min.js"></script>
    <![endif]-->

    <script src="/js/ace/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="/js/ace/jquery.ui.touch-punch.min.js"></script>
    <script src="/js/ace/jquery.slimscroll.min.js"></script>
    <script src="/js/ace/jquery.easy-pie-chart.min.js"></script>
    <script src="/js/ace/jquery.sparkline.min.js"></script>
    <script src="/js/ace/flot/jquery.flot.min.js"></script>
    <script src="/js/ace/flot/jquery.flot.pie.min.js"></script>
    <script src="/js/ace/flot/jquery.flot.resize.min.js"></script>

    <!-- ace scripts -->

    <script src="/js/ace/ace.min.js"></script>  
    <script src="/js/ace/ace-elements.min.js"></script>   
     <!-- ace settings handler -->
    <script src="/js/ace/ace-extra.min.js"></script>    
    @RenderSection("FootScript", false)

    <div style="display:none"></div>
    @*<script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script>*@
</body>
</html>

